﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;

namespace myBoard.Framework
{
    public delegate void OnFlipRequested(MagnetSides targetSide);

    public interface IFlip
    {
        /// <summary>
        /// Raise this event if you want to rotate your magnet.
        /// </summary>
        event OnFlipRequested FlipRequested;

        /// <summary>
        /// This method must return the front side of your magnet
        /// </summary>
        /// <returns></returns>
        Panel GetFrontSide();

        /// <summary>
        /// This magnet must return the back side of your magnet
        /// </summary>
        /// <returns></returns>
        Panel GetBackSide();
    }
}
